//
//  SYRequestAPI+HomePage.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/5/7.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import "SYRequestAPI.h"

NS_ASSUME_NONNULL_BEGIN

@interface SYRequestAPI (HomePage)

/**
 获得首页滚动图

 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getAdvertService:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 角色菜单

 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getRoleMenu:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;


/**
 HOME_ZUOYE_URL
最新作业
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getHomeWork:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 
 最新作业
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 
 获得即将开始课程
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getTheForthcomingCourse:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 
 问题信息辅导
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getQuestionTutor:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 
 师训信息
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getTrain:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 
 师训信息
 @param parama 参数
 @param success 成功
 @param fail 失败HOME_OnLineTutor_URL
 */
+ (void)sy_getOnLineTutor:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 
 消息列表
 @param parama 参数
 @param success 成功
 @param fail 失败HOME_OnLineTutor_URL
 */
+ (void)sy_getNoticeNoticeReceiveServiceGetNoticeInfo:(NSDictionary *)parama isUnread:(BOOL)isunread success:(void(^)(id responseObject))success fail:(FailBlock)fail;
//NoticeReceiveService.svc/GetMsgClassInfo

/// 首页班级消息列表
/// @param success 1
/// @param fail 0
+ (void)sy_postNoticeReceiveServiceMsgClassInfoSuccess:(void(^)(NSArray *dataListArr))success
                                                  fail:(FailBlock)fail;
//NoticeReceiveService.svc/GetNoticeInfoNew

/// 消息列表 新
/// @param classId 班级id
/// @param success 1
/// @param fail 0
+ (void)sy_postNoticeReceiveServiceGetNoticeInfoNewClassId:(NSString *)classId
                                                   success:(void(^)(NSArray *dataListArr))success
                                                      fail:(FailBlock)fail;


@end

NS_ASSUME_NONNULL_END
